﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Xinchen.SOA.Client
{
    public class ConfigSection : ConfigurationSection
    {
        [ConfigurationProperty("applicationId")]
        public string ApplicationId
        {
            get
            {
                return Convert.ToString(base["applicationId"]);
            }
        }

        [ConfigurationProperty("applicationKey")]
        public string ApplicationKey
        {
            get
            {
                return Convert.ToString(base["applicationKey"]);
            }
        }

        [ConfigurationProperty("runAsServer")]
        public string RunAsServer
        {
            get
            {
                return (string)base["runAsServer"];
            }
        }
    }
}
